﻿using System.Collections.ObjectModel;
using StartupSolution.Models;

namespace StartupSolution.ViewModel
{
    public class DrillDownViewModel
    {
        public ObservableCollection<CompanyModel> Companies { get; set; }

        //TODO: Add custom logic for generating the drilled data.
        //The sample data is generated here:
        public DrillDownViewModel()
        {
            Companies = new ObservableCollection<CompanyModel>();

            CompanyModel company;
            for (int i = 0; i < 6; i++)
            {
                company = new CompanyModel();
                company.Name = "C" + i;
                Companies.Add(company);
            }
        }
    }
}
